package cn.sangyy.gift.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * @author SangYY
 * @date: 2023/03/22/16:10
 */
@SpringBootApplication
@EnableDiscoveryClient //开启eureka客户端
@EnableZuulProxy //开启zuul网关
public class ZuulStart {
    public static void main(String[] args) {
        SpringApplication.run(ZuulStart.class,args);
    }
}
